Fix definition of LINUX_VER so that doesn't pickup LINUX_VER3
authorIan Campbell <ian.campbell@xensource.com>
Tue, 29 Aug 2006 11:23:11 +0000 (12:23 +0100)
committerIan Campbell <ian.campbell@xensource.com>
Tue, 29 Aug 2006 11:23:11 +0000 (12:23 +0100)
from mk.linux-2.6-xen. This makes "make mkpatches" work again.

Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
buildconfigs/Rules.mk

index b5da43801c4a5aca57ab6a236c9738efb684877b..6eca30ef0a1248b22e36fa74093a167229c41a8e 100644 (file)
@@ -19,7 +19,7 @@ endif
 
 # Expand Linux series to Linux version
 LINUX_SERIES   ?= 2.6
-LINUX_VER      ?= $(shell grep "^LINUX_VER" buildconfigs/mk.linux-2.6-xen | sed -e 's/.*=[ ]*//')
+LINUX_VER      ?= $(shell grep "^LINUX_VER " buildconfigs/mk.linux-2.6-xen | sed -e 's/.*=[ ]*//')
 
 # Setup Linux search path
 LINUX_SRC_PATH ?= .:..